//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================
#ifndef PKT_ACK_H
#define PKT_ACK_H



class PktAck : public VxPktHdr
{
public:
	PktAck()
	{
		m_u16PktType = PKT_TYPE_ACK;
		m_u16PktLen = sizeof( PktAck );
		vx_assert( 0 == (m_u16PktLen & 0x0f) );
	}
	unsigned short u16RxedPktType;				// type of packet we are replying to
	unsigned long u32ErrType;					// if 0 then no error
	char as8ErrorMsg[ MAX_PKT_ERR_MSG_LEN + 1 ];// error message if any
};


#endif //#ifndef PKT_KEY_REPLY_H


